<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/12/14
 * Time: 17:09
 */
$ofd_id = $route->bodyParams["ofd_id"];//主键ID

$whereArr = [
    "ofd_id" => $ofd_id
];

//执行写入语句
$rsData = $db->mysqlDB->delete("oa_financial_declare",$whereArr,false);

//返回成功结果
$response->responseData( true, $rsData );